Skip to content

Commit

Permalink
Merge pull request #737 from bedita/chore/replace-aliased-classes
Browse files Browse the repository at this point in the history
Replace more aliased classes
  • Loading branch information
didoda authored Mar 23, 2022
2 parents 4cac7b5 + 3d89682 commit 00c09e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ jobs:
- name: 'Install dependencies with Composer'
run: 'composer install --prefer-dist --no-interaction'

- name: 'Dump Composer autoloader'
run: 'composer dump-autoload --classmap-authoritative --no-cache'

- name: 'Run PHPUnit with coverage'
run: 'vendor/bin/phpunit --coverage-clover=clover.xml'

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"sort-packages": true,
"allow-plugins": {
"cakephp/plugin-installer": true,
"wikimedia/composer-merge-plugin": true
"wikimedia/composer-merge-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion src/Command/ConsoleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
namespace App\Command;

use Cake\Command\Command;
use Cake\Console\Arguments;
use Cake\Console\Command;
use Cake\Console\ConsoleIo;
use Cake\Console\ConsoleOptionParser;
use Cake\Log\Log;
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Exception/UploadException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

namespace App\Core\Exception;

use Cake\Core\Exception\Exception;
use Cake\Core\Exception\CakeException;

/**
* Exception raised when uploading from form fails
*/
class UploadException extends Exception
class UploadException extends CakeException
{
/**
* Array to map upload error codes with proper message string
Expand Down

0 comments on commit 00c09e8

Please sign in to comment.