1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00

32 Commits

Author SHA1 Message Date
James Titcumb
531433d63c 436: check for prebuilt archive output in Behat test 2026-02-06 17:29:42 +00:00
James Titcumb
bfb830d634 Ensure the PHAR we build in Behat is not verifiable 2025-11-14 11:55:38 +00:00
James Titcumb
8a0d5438cc Implemented self-update feature check 2025-11-14 11:43:55 +00:00
James Titcumb
81f9633417 Implemented features/install-in-pie-project.feature as Behat test 2025-11-14 09:27:49 +00:00
James Titcumb
3018777f7a Display more output for some failures 2025-11-14 09:27:49 +00:00
James Titcumb
74e35f453c Implemented feature tests for PHP project pie install 2025-11-14 09:27:49 +00:00
James Titcumb
b28712456f Implement platform dependencies feature Behat tests 2025-11-14 09:27:49 +00:00
James Titcumb
772ae3bf07 Add Behat context for bundled-php-extensions.feature 2025-11-14 09:27:49 +00:00
James Titcumb
1c1b37e859 Separate install vs install and enable Behat steps 2025-11-14 09:27:49 +00:00
James Titcumb
66bf738a33 Increase timeout for running pie itself 2025-11-14 09:27:43 +00:00
Matteo Beccati
c2584f3000 Allow dot in the path 2025-10-07 09:46:40 +02:00
James Titcumb
e8dbb79d8c Introduce phpstan instead of psalm 2025-09-29 11:47:14 +01:00
James Titcumb
7208eb9a4d Fix location of InstallPiePackageFromPathTest 2025-09-11 15:07:17 +01:00
James Titcumb
8b45fbf7f9 If --with-php-config not specified, always try to guess it so ./configure uses it correctly 2025-09-09 20:33:47 +01:00
James Titcumb
092db83eef Add component to install a PIE package from Path 2025-04-16 22:32:21 +01:00
James Titcumb
7800733777 Disable uninstall command for Windows
See https://github.com/php/pie/issues/190 for details.
2025-02-28 07:20:56 +00:00
James Titcumb
9f420e81bd Fix uninstall and complete tests 2025-02-28 07:20:55 +00:00
James Titcumb
2e67ee51ec Add repository:* commands to manage path/vcs repositories 2025-01-22 08:50:43 +00:00
James Titcumb
8887791b16 Validate extension really is enabled in PHP 2024-12-23 09:35:02 +00:00
James Titcumb
80ba60b7ef Ensure new TargetPlatform and Package constructor params are used after rebase 2024-12-23 08:05:51 +00:00
James Titcumb
7b6e9d0be4 Improve wording of invalid extension behaviour 2024-12-23 07:51:00 +00:00
Alexandre Daubois
0e8020ccf8 Trim warnings and deprecations from output when invoking PHP in PhpBinaryPath 2024-12-20 12:50:31 +01:00
James Titcumb
35459516dc Make sure WindowsBuild returns path to the prebuilt DLL 2024-11-15 10:59:21 +00:00
James Titcumb
746b30d7a9 Merge pull request #90 from alexandre-daubois/behat-attr
Use Behat attributes instead of annotations
2024-11-15 10:01:26 +00:00
Tim Düsterhus
678d4cfe99 Remove escapeshellarg() quoting for configure flags
This quoting is not necessary and in fact actively harmful, because the
`./configure` command is not passed to a shell as a string where word-splitting
happens, but as an argv array which the process will use as-is.

As an example, previously providing the `--with-library=/tmp/foo` flag would
result in the `--with-library='/tmp/foo'` flag being passed as the argument,
which then would be interpreted as if `"--with-library='/tmp/foo'"` was entered
into a shell. In other words: The library was expected to be found in a
directory literally starting with a single-quote.
2024-11-15 10:24:38 +01:00
Alexandre Daubois
c60fef702b Use Behat attributes instead of annotations 2024-11-14 14:50:53 +01:00
James Titcumb
854a9c3d73 Install ext behaviour test 2024-10-02 21:53:10 +01:00
James Titcumb
d6eda69093 Test behaviour of building an ext with configure options 2024-10-02 20:50:56 +01:00
James Titcumb
73e15864ab Implement build behaviour test 2024-10-02 20:45:24 +01:00
James Titcumb
2df6654acd Improve feature description wording and outline remaining examples 2024-10-02 20:06:40 +01:00
James Titcumb
d60130a199 Update to use recent test package release 2024-10-02 09:13:47 +01:00
James Titcumb
faffde0512 Organise context implementation into test path 2024-10-02 09:13:47 +01:00