mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
fix github workflow
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"php-flasher/flasher": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0",
|
||||
"orchestra/testbench": "^2.0|^3.0|^4.0|^5.0|^6.0"
|
||||
},
|
||||
"autoload": {
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
"php-flasher/flasher-laravel": "dev-main",
|
||||
"php-flasher/flasher-notyf": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0",
|
||||
"orchestra/testbench": "^2.0|^3.0|^4.0|^5.0|^6.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Notyf\\Laravel\\": ""
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
"php": ">=5.3",
|
||||
"php-flasher/flasher": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Notyf\\Prime\\": ""
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
"php-flasher/flasher-symfony": "dev-main",
|
||||
"php-flasher/flasher-notyf": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Notyf\\Symfony\\": ""
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace Flasher\Pnotify\Laravel\ServiceProvider\Providers;
|
||||
|
||||
use Flasher\PFlasher\Prime\PnotifyRenderer;
|
||||
use Flasher\Pnotify\Laravel\FlasherPnotifyServiceProvider;
|
||||
use Flasher\Pnotify\Prime\PnotifyFactory;
|
||||
use Flasher\Pnotify\Prime\PnotifyRenderer;
|
||||
use Flasher\Prime\Flasher;
|
||||
use Flasher\Prime\Renderer\RendererManager;
|
||||
use Illuminate\Container\Container;
|
||||
@@ -43,8 +43,8 @@ class Laravel implements ServiceProviderInterface
|
||||
return new PnotifyRenderer($app['flasher.config']);
|
||||
});
|
||||
|
||||
$this->app->alias('flasher.factory.pnotify', 'Flasher\PFlasher\Prime\TestsProducer\PnotifyProducer');
|
||||
$this->app->alias('flasher.renderer.pnotify', 'Flasher\PFlasher\Prime\Renderer\PnotifyRenderer');
|
||||
$this->app->alias('flasher.factory.pnotify', 'Flasher\Pnotify\Prime\PnotifyFactory');
|
||||
$this->app->alias('flasher.renderer.pnotify', 'Flasher\Pnotify\Prime\PnotifyRenderer');
|
||||
|
||||
$this->app->extend('flasher', function (Flasher $manager, Container $app) {
|
||||
$manager->addDriver($app['flasher.factory.pnotify']);
|
||||
@@ -52,7 +52,7 @@ class Laravel implements ServiceProviderInterface
|
||||
return $manager;
|
||||
});
|
||||
|
||||
$this->app->extend('flasher.renderer', function (RendererManager $manager, Container $app) {
|
||||
$this->app->extend('flasher.renderer_manager', function (RendererManager $manager, Container $app) {
|
||||
$manager->addDriver($app['flasher.renderer.pnotify']);
|
||||
|
||||
return $manager;
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
"php-flasher/flasher-laravel": "dev-main",
|
||||
"php-flasher/flasher-pnotify": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0",
|
||||
"orchestra/testbench": "^2.0|^3.0|^4.0|^5.0|^6.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Pnotify\\Laravel\\": ""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Flasher\PFlasher\Prime;
|
||||
namespace Flasher\Pnotify\Prime;
|
||||
|
||||
use Flasher\Prime\Config\ConfigInterface;
|
||||
use Flasher\Prime\Envelope;
|
||||
@@ -9,7 +9,7 @@ use Flasher\Prime\Renderer\HasScriptsInterface;
|
||||
use Flasher\Prime\Renderer\HasStylesInterface;
|
||||
use Flasher\Prime\Renderer\RendererInterface;
|
||||
|
||||
class PnotifyRenderer implements RendererInterface, HasScriptsInterface, HasStylesInterface, HasOptionsInterface
|
||||
final class PnotifyRenderer implements RendererInterface, HasScriptsInterface, HasStylesInterface, HasOptionsInterface
|
||||
{
|
||||
/**
|
||||
* @var ConfigInterface
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
"php": ">=5.3",
|
||||
"php-flasher/flasher": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Pnotify\\": ""
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
"php-flasher/flasher-symfony": "dev-main",
|
||||
"php-flasher/flasher-pnotify": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Pnotify\\Symfony\\": ""
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
"php-flasher/flasher-laravel": "dev-main",
|
||||
"php-flasher/flasher-sweet-alert": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0",
|
||||
"orchestra/testbench": "^2.0|^3.0|^4.0|^5.0|^6.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Laravel\\SweetAlert\\": ""
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
"php": ">=5.3",
|
||||
"php-flasher/flasher": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\SweetAlert\\prime\\": ""
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
"php-flasher/flasher-symfony": "dev-main",
|
||||
"php-flasher/flasher-sweet-alert": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\SweetAlert\\Symfony\\": ""
|
||||
|
||||
@@ -36,7 +36,8 @@
|
||||
"symfony/yaml": "^2.7|^3.0|^4.0|^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"twig/twig": "^1.34|^2.0|^3.0"
|
||||
"twig/twig": "^1.34|^2.0|^3.0",
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"suggest": {
|
||||
"twig/twig": "Twig support for Htmlpresenter"
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
"php-flasher/flasher-laravel": "dev-main",
|
||||
"php-flasher/flasher-toastr": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0",
|
||||
"orchestra/testbench": "^2.0|^3.0|^4.0|^5.0|^6.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Toastr\\Laravel\\": ""
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
"php": ">=5.3",
|
||||
"php-flasher/flasher": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Toastr\\Prime\\": ""
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
"php-flasher/flasher-symfony": "dev-main",
|
||||
"php-flasher/flasher-toastr": "dev-main"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Flasher\\Toastr\\Symfony\\": ""
|
||||
|
||||
Reference in New Issue
Block a user