- Conhecimentos avançados em Orientação a Objetos
- Conhecimentos avançados em linguagens de programação para backend como PHP, Python, Go
- Conhecimentos em algum framework como Zend Framework, Zend Expressive, Silex, Django, Symfony ou similares
- Conhecimentos em ORMs como Doctrine 2 (entidades, relacionamentos, consultas)
- Conhecimentos avançados em testes unitários
- Conhecimentos em banco de dados como MySQL e PostgreSQL
- Conhecimentos em Git (branches, Pull Requests)
- Inglês técnico, pelo menos para leitura
This file contains hidden or 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 unsubscribe($user, $category) { | |
// Se o usuário pode ser bloqueado | |
if ($this->isUserLockable($user)) { | |
// Se a categoria pode ser bloqueada | |
if ($this->isCategoryLockable($category)) { | |
// Se essa opção não foi executada ainda, ou seja, usuário e categoria não estão bloqueados ainda | |
if (!$this->isUserAndCategoryLocked($user, $category)) { |
This file contains hidden or 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
{ | |
"name": "Planrockr", | |
"version": "1.0.0", | |
"description": "Planrockr", | |
"title": "Planrockr API", | |
"url" : "http://app.planrockr.dev/rpc/v1" | |
} |
This file contains hidden or 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
/** | |
* @api {post} /bitbucket/saveRepository Save a new repository | |
* @apiVersion 1.0.0 | |
* @apiName SaveRepository | |
* @apiGroup Bitbucket | |
* | |
* @apiParam (parameters) {String} projectId Project's ID | |
* @apiParam (parameters) {String} repository[uuid] Repository's Id | |
* @apiParam (parameters) {String} repository[owner] Repository's Owner | |
* @apiParam (parameters) {String} repository[slug] Repository's Slug |
This file contains hidden or 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
debug: false | |
timezone: "America/Sao_Paulo" | |
date_format: dd.MM.yyyy HH:mm:ss | |
display_logger: true | |
default_limit: 100 | |
cache_expire: 300 | |
reverse_line_order: true | |
logs: | |
Monolog: | |
Logs: |
This file contains hidden or 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
XHProf runs: 138 | |
* Core\Helper\TaskPullRequestTraitTest::testPercentages | |
http://localhost:8888?run=57079ba289d44&source=Planrockr | |
* Planrockr\DataSource\Trello\WeeklyMailTest::testProcess | |
http://localhost:8888?run=57079ba4405dc&source=Planrockr | |
* Planrockr\DataSource\Bitbucket\BitbucketTest::testSaveRepository | |
http://localhost:8888?run=57079ba58da6f&source=Planrockr |
This file contains hidden or 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
You should really fix these slow tests (>500ms)... | |
1. 3910ms to run Planrockr\Service\TeamTest:testWithoutMembers | |
2. 3165ms to run Planrockr\Service\UserTest:testCreateUser | |
3. 2764ms to run Planrockr\Service\UserTest:testCreateUserWithPromotion | |
4. 2579ms to run Planrockr\Service\TeamTest:testDeleteTeamWithoutPermission | |
5. 2453ms to run Planrockr\Service\TeamTest:testCreateWithFullData | |
6. 2135ms to run Planrockr\DataSource\Github\UpdaterTest:testCreateBranch | |
7. 2119ms to run Planrockr\DataSource\Github\UpdaterTest:testFork | |
8. 2113ms to run Planrockr\Service\TeamTest:testDeleteTeam | |
9. 2032ms to run Planrockr\Service\ProjectTest:testDelete |
This file contains hidden or 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
<listener class="PHPUnit\XHProfTestListener\XHProfTestListener" file="vendor/phpunit/test-listener-xhprof/src/XHProfTestListener.php"> | |
<arguments> | |
<array> | |
<element key="appNamespace"> | |
<string>Planrockr</string> | |
</element> | |
<element key="xhprofWeb"> | |
<string>http://localhost:8888</string> | |
</element> | |
<element key="xhprofLibFile"> |
This file contains hidden or 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
Verifying that +eminetto is my blockchain ID. https://onename.com/eminetto |
This file contains hidden or 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 Beer\Model; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="Beer") | |
*/ | |
class Beer |