mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
PHP 8.5 support
This commit adds support for building a docker image based on PHP 8.5 (RC). It also removes some unused code in tests that was triggering deprecation warnings. For similar deprecation warnings coming from testbench we have a temporary patch script until this is resolved upstream. This commit also adds logic to the DisallowSqliteAttach feature leveraging the new native setAuthorizer() method, instead of loading a compiled extension. We also remove the unused `php` parameter from ci.yml
This commit is contained in:
parent
91f6c61fcd
commit
fadf1001f8
7 changed files with 53 additions and 25 deletions
|
|
@ -49,3 +49,9 @@ Use `composer phpstan` to run our phpstan suite.
|
|||
Create `.env` with `PROJECT_PATH=/full/path/to/this/directory`. Configure a Docker-based interpreter for tests (with exec, not run).
|
||||
|
||||
If you want to use XDebug, use `composer docker-rebuild-with-xdebug`.
|
||||
|
||||
## PHP 8.5
|
||||
|
||||
To use PHP 8.5 during development, run:
|
||||
- `PHP_VERSION=8.5.0RC2 composer docker-rebuild` to build the `test` container with PHP 8.5
|
||||
- `composer php85-patch` to get rid of some deprecation errors coming from `config/database.php` from within testbench-core
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue