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: spatie/phpunit-watcher
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.23.2
Choose a base ref
...
head repository: spatie/phpunit-watcher
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.23.3
Choose a head ref
  • 4 commits
  • 6 files changed
  • 3 contributors

Commits on Feb 26, 2021

  1. wip

    freekmurze committed Feb 26, 2021
    Copy the full SHA
    6ceefcb View commit details

Commits on May 6, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1642c53 View commit details

Commits on Nov 15, 2021

  1. Update run-tests.yml

    freekmurze authored Nov 15, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3577279 View commit details

Commits on Dec 17, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    74a6328 View commit details
Showing with 8 additions and 4 deletions.
  1. +1 −1 .github/workflows/php-cs-fixer.yml
  2. +1 −1 .github/workflows/run-tests.yml
  3. 0 .php_cs.dist → .php_cs.dist.php
  4. +1 −1 CHANGELOG.md
  5. +1 −1 src/ConsoleApplication.php
  6. +4 −0 src/WatcherCommand.php
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php_cs.dist --allow-risky=yes
args: --config=.php_cs.dist.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php: [8.0, 7.4, 7.3, 7.2]
dependency-version: [prefer-lowest, prefer-stable]

File renamed without changes.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

All notable changes to `phpunit-watcher` will be documented in this file

## 1.23.1 - 2021-02-26
## 1.23.2 - 2021-02-26

- replace passthru with echo (#133)

2 changes: 1 addition & 1 deletion src/ConsoleApplication.php
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ class ConsoleApplication extends Application
{
public function __construct()
{
parent::__construct('PHPUnit Watcher', '1.12.1');
parent::__construct('PHPUnit Watcher', '1.23.2');

$this->add(new WatcherCommand());
}
4 changes: 4 additions & 0 deletions src/WatcherCommand.php
Original file line number Diff line number Diff line change
@@ -51,6 +51,10 @@ protected function getOptionsFromConfigFile(): array
{
$configFilePath = $this->getConfigFileLocation();

if (! $configFilePath) {
return [];
}

if (! file_exists($configFilePath)) {
return [];
}