echo $(brew --prefix)
echo $(groups $(whoami))
sudo dseditgroup -o edit -a $(whoami) -t user admin
sudo chgrp -R admin $(brew --prefix)
sudo chmod -R g+rwX $(brew --prefix)
ls -lah $(brew --prefix)
In the feat to update Route annotations from the deprecated
Sensio\Bundle\FrameworkExtraBundle\Configuration\Method
and Sensio\Bundle\FrameworkExtraBundle\Configuration\Method
to use Symfony\Component\Routing\Annotation\Route
.
First of all I fixed the routes cos I realized I had some routes that ended with double closing bracket: ")".
The Fix:
Replace:
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 | |
public function sendEarlyResponseHeaders($res) | |
{ | |
// Buffer all upcoming output... | |
ob_start(); | |
// Send your response. | |
echo json_encode($res); |