Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI setup for PHP 8, CakePHP 5.1. Will fix the deprecations in the TestCases in a separate PR. #1103

Open
wants to merge 3 commits into
base: 14.next-cake5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Get date part for cache key
id: key-date
run: echo "::set-output name=date::$(date +'%Y-%m')"

run: echo "date=$(date +'%Y-%m')" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v1
with:
Expand Down
5 changes: 2 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
'default' => [
'engine' => 'File',
],
'_cake_core_' => [
'_cake_translations_' => [
'className' => 'File',
'prefix' => 'users_myapp_cake_core_',
'prefix' => 'users_myapp_cake_translations_',
'path' => CACHE . 'persistent/',
'serialize' => true,
'duration' => '+10 seconds',
Expand Down Expand Up @@ -136,7 +136,6 @@ class_alias('TestApp\Controller\AppController', 'App\Controller\AppController');
]);
\Cake\Utility\Security::setSalt('yoyz186elmi66ab9pz4imbb3tgy9vnsgsfgwe2r8tyxbbfdygu9e09tlxyg8p7dq');

Plugin::getCollection()->add(new \CakeDC\Users\Plugin());
session_id('cli');

\Cake\Core\Configure::write('Users.AllowedRedirectHosts', [
Expand Down
Loading