{"id":18624873,"url":"https://github.com/gabrieldarezzo/alura-phpunit","last_synced_at":"2026-04-13T09:32:32.731Z","repository":{"id":106272622,"uuid":"86626484","full_name":"gabrieldarezzo/alura-phpunit","owner":"gabrieldarezzo","description":"Testes do phpunit (Windows + Composer)","archived":false,"fork":false,"pushed_at":"2017-05-26T19:43:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-04T19:07:31.262Z","etag":null,"topics":["composer","php","phpunit"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabrieldarezzo.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-29T20:29:03.000Z","updated_at":"2017-11-10T17:07:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"20505dcf-cbdf-4c05-9a90-ab389ad86c79","html_url":"https://github.com/gabrieldarezzo/alura-phpunit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabrieldarezzo/alura-phpunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieldarezzo%2Falura-phpunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieldarezzo%2Falura-phpunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieldarezzo%2Falura-phpunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieldarezzo%2Falura-phpunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrieldarezzo","download_url":"https://codeload.github.com/gabrieldarezzo/alura-phpunit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrieldarezzo%2Falura-phpunit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","php","phpunit"],"created_at":"2024-11-07T04:31:37.570Z","updated_at":"2026-04-13T09:32:32.714Z","avatar_url":"https://github.com/gabrieldarezzo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to Install:  \n\n\n```\ngit clone git@github.com:gabrieldarezzo/phpunit.git\ncd phpunit  \ncomposer update  \n.\\vendor\\bin\\phpunit  \n```\n\n\n\nObs: Caso tenha mais classes, pode alterar o config.php \n\n@dica:\nRecomendo usar o [ConEmu](https://conemu.github.io/):  \n\n\nPois da suporte a cores, Ex: \n```  \n.\\vendor\\bin\\phpunit --colors\n```\nSaida:\n```diff \n+ SUCCESS!\n- FAILLLLLLLLLLLLLLL!\n```\n\n\n### Atividades:  \n\nUm leilão não deve aceitar: - 2 lances em sequência dado pelo mesmo usuário; - Um mesmo usuário não pode dar mais do que 5 lances no mesmo leilão;  \n\n\nImplemente o método dobraLance(Usuario $usuario) na classe Leilao. Este método deve encontrar o último lance dado por este usuário e criar um novo lance com o dobro do lance anterior. Caso ele não tenha dado nenhum lance anteriormente, não é criado um novo lance.\nRepare que ainda precisamos seguir as regras da propor um lance: no máximo 5 lances por usuários e dois lances seguidos do mesmo usuário não é válido.\n\nPratique TDD 100% do tempo durante a implementação.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrieldarezzo%2Falura-phpunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrieldarezzo%2Falura-phpunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrieldarezzo%2Falura-phpunit/lists"}