Skip to content

Commit

Permalink
Updated core.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmundra committed Sep 8, 2024
1 parent 531fb1b commit 8176203
Show file tree
Hide file tree
Showing 950 changed files with 4,148 additions and 4,602 deletions.
108 changes: 54 additions & 54 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"once": true,
"CKEditor5": true,
"tabbable": true,
"slugify": true,
"transliterate": true,
"bodyScrollLock" : true,
"FloatingUIDOM": true
},
Expand Down
12 changes: 0 additions & 12 deletions core/.phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2552,18 +2552,6 @@
'count' => 1,
'path' => __DIR__ . '/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php',
];
$ignoreErrors[] = [
// identifier: method.deprecated
'message' => '#^Call to deprecated method getMockForAbstractClass\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\.$#',
'count' => 4,
'path' => __DIR__ . '/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php',
];
$ignoreErrors[] = [
// identifier: method.deprecated
'message' => '#^Call to deprecated method getMockForAbstractClass\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\MockBuilder\\.$#',
'count' => 2,
'path' => __DIR__ . '/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php',
];
$ignoreErrors[] = [
'message' => '#^Missing cache backend declaration for performance\\.$#',
'count' => 1,
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Drupal.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Drupal {
/**
* The current system version.
*/
const VERSION = '11.0.1';
const VERSION = '11.0.2';

/**
* Core API compatibility.
Expand Down
6 changes: 6 additions & 0 deletions core/lib/Drupal/Component/Datetime/DateTimePlus.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class DateTimePlus {

/**
* An array of possible date parts.
*
* @var string[]
*/
protected static $dateParts = [
'year',
Expand Down Expand Up @@ -108,11 +110,15 @@ class DateTimePlus {

/**
* The value of the language code passed to the constructor.
*
* @var string|null
*/
protected $langcode = NULL;

/**
* An array of errors encountered when creating this date.
*
* @var string[]
*/
protected $errors = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ protected function dumpCallable($callable) {
/**
* Gets a private service definition in a suitable format.
*
* @param string $id
* @param string|null $id
* The ID of the service to get a private definition for.
* @param \Symfony\Component\DependencyInjection\Definition $definition
* The definition to process.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Drupal/Component/Gettext/PoHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PoHeader {
/**
* Author(s) of the file.
*
* @var string
* @var string[]
*/
protected $authors;

Expand Down
Loading

0 comments on commit 8176203

Please sign in to comment.