Skip to content

Commit

Permalink
Implement missing values
Browse files Browse the repository at this point in the history
  • Loading branch information
pionl committed Apr 7, 2024
1 parent 1e519e5 commit 98a5f73
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/Testing/Laravel/TestingApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,22 @@ public function terminate()
{
}

protected function addPath(mixed $path): string
public function langPath($path = '')

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has no return type specified.

Check failure on line 171 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::langPath() has parameter $path with no type specified.
{
return 'lang/' . $this->addPath($path);
}

public function publicPath($path = '')

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has no return type specified.

Check failure on line 176 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::publicPath() has parameter $path with no type specified.
{
return 'public/' . $this->addPath($path);
}

public function hasDebugModeEnabled()

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.

Check failure on line 181 in src/Testing/Laravel/TestingApplication.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingApplication::hasDebugModeEnabled() has no return type specified.
{
return false;
}

protected function addPath(string $path): string
{
return $path !== '' ? DIRECTORY_SEPARATOR . $path : '';
}
Expand Down
5 changes: 5 additions & 0 deletions src/Testing/Laravel/TestingContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,9 @@ public function has(string $id): bool
{
return false;
}

public function bindMethod($method, $callback)

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.3) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.2) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (highest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has no return type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $callback with no type specified.

Check failure on line 188 in src/Testing/Laravel/TestingContainer.php

View workflow job for this annotation

GitHub Actions / Code check - Laravel 9 (8.1) / PHPStan (lowest)

Method LaraStrict\Testing\Laravel\TestingContainer::bindMethod() has parameter $method with no type specified.
{

}
}

0 comments on commit 98a5f73

Please sign in to comment.