@@ -3,7 +3,7 @@ |
||
3 | 3 | |
4 | 4 | declare(ticks = 1); |
5 | 5 | |
6 | -require __DIR__.'/vendor/autoload.php'; |
|
6 | +require __DIR__ . '/vendor/autoload.php'; |
|
7 | 7 | |
8 | 8 | use Nyx\Commands\NyxCommand; |
9 | 9 | use Symfony\Component\Console\Application; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $this->buffer = array(); |
61 | 61 | } |
62 | 62 | |
63 | - foreach ((array)$this->buffer as $msg) { |
|
63 | + foreach ((array) $this->buffer as $msg) { |
|
64 | 64 | $this->write($msg); |
65 | 65 | } |
66 | 66 | } |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -142,7 +142,7 @@ |
||
142 | 142 | $this->add($worker); |
143 | 143 | $worker->start(); |
144 | 144 | } else { |
145 | - throw new \Exception('Maximum number of workers allocated for this pool ('.$this->numberOfWorkers.').'); |
|
145 | + throw new \Exception('Maximum number of workers allocated for this pool (' . $this->numberOfWorkers . ').'); |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | return $this; |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -114,7 +114,7 @@ |
||
114 | 114 | { |
115 | 115 | if (is_resource($this->process)) { |
116 | 116 | $status = proc_get_status($this->process); |
117 | - return array_key_exists('running', $status) && (bool)$status['running']; |
|
117 | + return array_key_exists('running', $status) && (bool) $status['running']; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | return false; |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |
@@ -1,29 +1,29 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Nyx |
|
4 | - * |
|
5 | - * (The MIT license) |
|
6 | - * Copyright (c) 2016 Luke Steadman |
|
7 | - * |
|
8 | - * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | - * of this software and associated * documentation files (the "Software"), to |
|
10 | - * deal in the Software without restriction, including without limitation the |
|
11 | - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | - * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | - * furnished to do so, subject to the following conditions: |
|
14 | - * The above copyright notice and this permission notice shall be included in |
|
15 | - * all copies or substantial portions of the Software. |
|
16 | - * |
|
17 | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | - * IN THE SOFTWARE. |
|
24 | - * |
|
25 | - * @package Nyx |
|
26 | - */ |
|
3 | + * Nyx |
|
4 | + * |
|
5 | + * (The MIT license) |
|
6 | + * Copyright (c) 2016 Luke Steadman |
|
7 | + * |
|
8 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
|
9 | + * of this software and associated * documentation files (the "Software"), to |
|
10 | + * deal in the Software without restriction, including without limitation the |
|
11 | + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
12 | + * sell copies of the Software, and to permit persons to whom the Software is |
|
13 | + * furnished to do so, subject to the following conditions: |
|
14 | + * The above copyright notice and this permission notice shall be included in |
|
15 | + * all copies or substantial portions of the Software. |
|
16 | + * |
|
17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
22 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
|
23 | + * IN THE SOFTWARE. |
|
24 | + * |
|
25 | + * @package Nyx |
|
26 | + */ |
|
27 | 27 | namespace Nyx; |
28 | 28 | |
29 | 29 | interface WorkerInterface |