5 Commits

Author SHA1 Message Date
Jean-Baptiste Nahan
ea4d608cbb Create FUNDING.yml 2022-09-29 09:18:09 +02:00
macintoshplus
ca37fe5249 fix error message 2022-09-08 09:30:20 +02:00
macintoshplus
e833f4576f bump max PHP version + enable Symfony 5 2020-06-10 11:14:51 +02:00
macintoshplus
0a83a9ed09 update licence 2019-10-10 06:45:26 +02:00
macintoshplus
d6b8080675 update meta informations 2019-10-10 06:32:24 +02:00
4 changed files with 11 additions and 7 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: [macintoshplus]

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Win32Service
Copyright (c) 2019 Win32Service, "MacintoshPlus" <macintoshplus@mactronique.fr>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,6 +1,9 @@
{
"name": "win32service/win32servicebundle",
"type": "symfony-bundle",
"description": "Bundle for integrate the win32service/service-library into a Symfony Project",
"keywords": ["win32service", "service", "windows", "service manager", "symfony", "bundle"],
"homepage": "https://win32service.mactronique.fr/bundle.html",
"license": "MIT",
"authors": [
{
@@ -22,12 +25,12 @@
},
"minimum-stability": "beta",
"require": {
"php": "^7.1.0 <7.4.0",
"php": "^7.1.0 <8.0.0",
"win32service/service-library": "^0.1.0",
"symfony/http-kernel": "^4.0",
"symfony/console": "^4.0",
"symfony/config": "^4.0",
"symfony/dependency-injection": "^4.0"
"symfony/http-kernel": "^4.0||^5.0",
"symfony/console": "^4.0||^5.0",
"symfony/config": "^4.0||^5.0",
"symfony/dependency-injection": "^4.0||^5.0"
},
"require-dev": {
"atoum/atoum": "^3.3"

View File

@@ -89,7 +89,7 @@ class ExecuteServiceCommand extends Command
$runner = $this->service->getRunner($infos['service_id']);
if ($runner === null) {
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Add tag "win32service.runner" with alias "%1$s" at the service runner service', $infos['service_id']));
throw new \Exception(sprintf('The runner for service "%1$s" is not found. Call method \'add\' on the RunnerManager with the runner instance and the alias "%1$s".', $infos['service_id']));
}
if ($this->eventDispatcher !== null) {