Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: consolidation/site-alias
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.1.0
Choose a base ref
...
head repository: consolidation/site-alias
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.1.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Jul 23, 2024

  1. Copy the full SHA
    cec2467 View commit details

Commits on Dec 13, 2024

  1. Copy the full SHA
    8a5e68b View commit details
  2. Changelog for 4.1.1

    greg-1-anderson committed Dec 13, 2024
    Copy the full SHA
    aff6189 View commit details
Showing with 7 additions and 3 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +4 −0 CHANGELOG.md
  3. +1 −1 src/SiteAlias.php
  4. +1 −1 src/SiteAliasWithConfig.php
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ jobs:
dependencies: highest

- os: ubuntu-latest
php-version: "8.3"
php-version: "8.4"
dependencies: highest
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 4.1.1 2024-12-13

* PHP 8.4 support

### 4.1.0 2024-04-05

* Symfony 7 support
2 changes: 1 addition & 1 deletion src/SiteAlias.php
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ class SiteAlias extends Config implements SiteAliasInterface
/**
* @inheritdoc
*/
public function __construct(array $data = null, $name = '', $env = '')
public function __construct(?array $data = null, $name = '', $env = '')
{
parent::__construct($data);
if (!empty($env)) {
2 changes: 1 addition & 1 deletion src/SiteAliasWithConfig.php
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ public function __construct(SiteAliasInterface $siteAlias, ConfigInterface $defa
* @return SiteAlias read-only site alias combined with the runtime
* config (overrides the site alias values) and the default config.
*/
public static function create(SiteAliasInterface $siteAlias, ConfigInterface $defaultConfig, ConfigInterface $runtimeConfig = null)
public static function create(SiteAliasInterface $siteAlias, ConfigInterface $defaultConfig, ?ConfigInterface $runtimeConfig = null)
{
$runtimeConfig = static::determineCorrectRuntimeConfig($defaultConfig, $runtimeConfig);