Skip to content

Commit 7c8f1c2

Browse files
committed
Remove the Psysh Dependency
Now requires CakePHP Dependency v3.3 Updates the cache-clear script to use the native CakePHP cache clear shell Signed-off-by: Justin Yost <justin@loadsys.com>
1 parent 9ab907c commit 7c8f1c2

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

cache-clear

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,4 @@ fi
2828

2929
echo "## Clearing cache folders.";
3030

31-
cat <<-'EOPHP' | bin/cake console -q | head -n -1
32-
foreach (\Cake\Cache\Cache::configured() as $key) {
33-
\Cake\Cache\Cache::clear(false, $key);
34-
echo " - Cleared: $key\n";
35-
}
36-
exit;
37-
38-
EOPHP
31+
bin/cake cache clear_all

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
}
1010
],
1111
"require": {
12+
"cakephp/cakephp": "~3.3",
1213
"phpunit/phpunit": "~4.1",
1314
"phpdocumentor/phpdocumentor": "~2.0",
14-
"psy/psysh": "@stable",
1515
"loadsys/loadsys_codesniffer": "~3.0",
1616
"nikic/php-parser": "~0.9",
1717
"phpmetrics/phpmetrics": "^1.10"

0 commit comments

Comments
 (0)