This "project" is a simple CLI slugger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Middleware; | |
use App\Middleware\Stamp\LogStamp; | |
use App\Monolog\Processor\UuidProcessor; | |
use Symfony\Component\Messenger\Envelope; | |
use Symfony\Component\Messenger\Middleware\MiddlewareInterface; | |
use Symfony\Component\Messenger\Middleware\StackInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
require __DIR__ . '/../../vendor/autoload.php'; | |
use Castor\Console\Command\CompileCommand; | |
use Symfony\Component\Console\Application; | |
use Symfony\Component\Console\Command\Command; | |
// We extends the CompileCommand, to be able to remove the constructor, because |
- removed
EntityChoiceList
- removed
$manager
(2nd) and$class
(3th) arguments ofORMQueryBuilderLoader
- removed passing a query builder closure to
ORMQueryBuilderLoader
- removed
loader
andproperty
options of theDoctrineType
- deprecated interface
Symfony\Component\HttpKernel\Log\LoggerInterface
has been removed
Add the following bookmark:
javascript:boxes=document.getElementsByClassName("js-reviewed-checkbox"),counter=0;for(let e=0;e<boxes.length;e++){const t=boxes[e];!t.checked&&(t.click(),counter++)}alert("Folded "+counter);
Then click on it to mark all "viewed" checkbox to checked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Integration; | |
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | |
use Symfony\Component\Config\FileLocator; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
use Symfony\Component\DependencyInjection\Definition; | |
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Kernel; | |
require __DIR__.'/vendor/autoload_runtime.php'; | |
use Symfony\Component\Console\Output\StreamOutput; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch -n 1 cp -u -R ./source ./dest | |
# Run every seconds: `-n 1` | |
# Copy everything from "source" to "dest": | |
# `-R ./source ./dest` | |
# But only if the content is different `-u` |
Reproducer for php/php-src#8219
Run php index.php
NewerOlder