Skip to content

Commit 8a1630a

Browse files
committed
Bump up to CakePHP 4.2
1 parent 4c5434d commit 8a1630a

9 files changed

+18
-18
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"irc": "irc://irc.freenode.org/muffin"
4040
},
4141
"require": {
42-
"cakephp/orm": "^4.1"
42+
"cakephp/orm": "^4.2"
4343
},
4444
"require-dev": {
45-
"cakephp/cakephp": "^4.1",
45+
"cakephp/cakephp": "^4.2",
4646
"cakephp/cakephp-codesniffer": "^4.0",
4747
"phpunit/phpunit": "~8.5.0"
4848
},

src/Datasource/Exception/MissingConnectionException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Datasource\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class MissingConnectionException extends Exception
8+
class MissingConnectionException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

src/Model/Exception/MissingEndpointSchemaException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Model\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class MissingEndpointSchemaException extends Exception
8+
class MissingEndpointSchemaException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

src/Model/Exception/MissingResourceClassException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Model\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class MissingResourceClassException extends Exception
8+
class MissingResourceClassException extends CakeException
99
{
1010
protected $_messageTemplate = 'Resource class %s could not be found.';
1111
}

src/Webservice/Exception/MissingDriverException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Webservice\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class MissingDriverException extends Exception
8+
class MissingDriverException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

src/Webservice/Exception/MissingWebserviceClassException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Webservice\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class MissingWebserviceClassException extends Exception
8+
class MissingWebserviceClassException extends CakeException
99
{
1010
protected $_messageTemplate = 'Webservice class %s (and fallback %s) could not be found.';
1111
}

src/Webservice/Exception/UnexpectedDriverException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Webservice\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class UnexpectedDriverException extends Exception
8+
class UnexpectedDriverException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

src/Webservice/Exception/UnimplementedDriverMethodException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Webservice\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class UnimplementedDriverMethodException extends Exception
8+
class UnimplementedDriverMethodException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

src/Webservice/Exception/UnimplementedWebserviceMethodException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Muffin\Webservice\Webservice\Exception;
55

6-
use Cake\Core\Exception\Exception;
6+
use Cake\Core\Exception\CakeException;
77

8-
class UnimplementedWebserviceMethodException extends Exception
8+
class UnimplementedWebserviceMethodException extends CakeException
99
{
1010
/**
1111
* Template string that has attributes sprintf()'ed into it.

0 commit comments

Comments
 (0)