mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge branch '2.7' into 2.8
This commit is contained in:
commit
a6a699b4b9
8 changed files with 11 additions and 11 deletions
|
@ -138,7 +138,7 @@ endif;
|
|||
echo '<span class="notice">';
|
||||
echo __d('cake_dev', 'DebugKit is not installed. It will help you inspect and debug different aspects of your application.');
|
||||
echo '<br/>';
|
||||
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit'));
|
||||
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit/tree/2.2'));
|
||||
echo '</span>';
|
||||
endif;
|
||||
?>
|
||||
|
@ -178,7 +178,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<p>
|
||||
<ul>
|
||||
<li>
|
||||
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit') ?>:
|
||||
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit/tree/2.2') ?>:
|
||||
<?php echo __d('cake_dev', 'provides a debugging toolbar and enhanced debugging tools for CakePHP applications.'); ?>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "3.7.*",
|
||||
"cakephp/debug_kit" : "2.2.*",
|
||||
"cakephp/debug_kit" : "^2.2.0",
|
||||
"cakephp/cakephp-codesniffer": "^1.0.0"
|
||||
},
|
||||
"bin": [
|
||||
|
|
|
@ -141,7 +141,7 @@ if (isset($filePresent)):
|
|||
echo '<span class="notice">';
|
||||
echo __d('cake_dev', 'DebugKit is not installed. It will help you inspect and debug different aspects of your application.');
|
||||
echo '<br/>';
|
||||
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit'));
|
||||
echo __d('cake_dev', 'You can install it from %s', $this->Html->link('GitHub', 'https://github.com/cakephp/debug_kit/tree/2.2'));
|
||||
echo '</span>';
|
||||
endif;
|
||||
?>
|
||||
|
@ -181,7 +181,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<p>
|
||||
<ul>
|
||||
<li>
|
||||
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit') ?>:
|
||||
<?php echo $this->Html->link('DebugKit', 'https://github.com/cakephp/debug_kit/tree/2.2') ?>:
|
||||
<?php echo __d('cake_dev', 'provides a debugging toolbar and enhanced debugging tools for CakePHP applications.'); ?>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -360,7 +360,7 @@ class CakeEmail {
|
|||
|
||||
if ($config) {
|
||||
$this->config($config);
|
||||
} elseif (class_exists($this->_configClass) && config('email')) {
|
||||
} elseif (config('email') && class_exists($this->_configClass)) {
|
||||
$this->_configInstance = new $this->_configClass();
|
||||
if (isset($this->_configInstance->default)) {
|
||||
$this->config('default');
|
||||
|
|
|
@ -128,7 +128,7 @@ class InflectorTest extends CakeTestCase {
|
|||
$this->assertEquals(Inflector::singularize('stimuli'), 'stimulus');
|
||||
$this->assertEquals(Inflector::singularize('syllabi'), 'syllabus');
|
||||
$this->assertEquals(Inflector::singularize('termini'), 'terminus');
|
||||
$this->assertEquals(Inflector::singularize('viri'), 'virus');
|
||||
$this->assertEquals(Inflector::singularize('viruses'), 'virus');
|
||||
$this->assertEquals(Inflector::singularize('people'), 'person');
|
||||
$this->assertEquals(Inflector::singularize('gloves'), 'glove');
|
||||
$this->assertEquals(Inflector::singularize('doves'), 'dove');
|
||||
|
@ -246,7 +246,7 @@ class InflectorTest extends CakeTestCase {
|
|||
$this->assertEquals(Inflector::pluralize('stimulus'), 'stimuli');
|
||||
$this->assertEquals(Inflector::pluralize('syllabus'), 'syllabi');
|
||||
$this->assertEquals(Inflector::pluralize('terminus'), 'termini');
|
||||
$this->assertEquals(Inflector::pluralize('virus'), 'viri');
|
||||
$this->assertEquals(Inflector::pluralize('virus'), 'viruses');
|
||||
$this->assertEquals(Inflector::pluralize('person'), 'people');
|
||||
$this->assertEquals(Inflector::pluralize('people'), 'people');
|
||||
$this->assertEquals(Inflector::pluralize('glove'), 'gloves');
|
||||
|
|
|
@ -47,7 +47,7 @@ class Inflector {
|
|||
'/(?<!u)(m)an$/i' => '\1en',
|
||||
'/(c)hild$/i' => '\1hildren',
|
||||
'/(buffal|tomat)o$/i' => '\1\2oes',
|
||||
'/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin|vir)us$/i' => '\1i',
|
||||
'/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin)us$/i' => '\1i',
|
||||
'/us$/i' => 'uses',
|
||||
'/(alias)$/i' => '\1es',
|
||||
'/(ax|cris|test)is$/i' => '\1es',
|
||||
|
|
Loading…
Reference in a new issue