github.com/grahamcampbell/Result-Type v1.1.1
Legitimate PHP library code
PHP variable function invocation patternFetched github.com repository artifact
SHA-256b56b7c7e9249166c059419dd7dffcf35e4c0823a3cb23497f2e557f2659931ce
MaleculeO(Er)H(Po)
Evidence
1# CONTRIBUTOR COVENANT CODE OF CONDUCT
2
3## Our Pledge
4
5We as members, contributors, and leaders pledge to make participation in our
6community a harassment-free experience for everyone, regardless of age, body
7size, visible or invisible disability, ethnicity, sex charact …
23:51… e affected by our mistakes,
24 and learning from the experience
25* Focusing on what is best not just for us as individuals, but for the
26 overall com …
129:30… or-covenant.org/version/2/1/code_of_conduct.html
130[Mozilla CoC]: https://github.com/mozilla/diversity
131[FAQ]: https://www.contributor-covenant.org/faq
132[translations]: https://www.contributor-covenant.org/translati …
21class ResultTest extends TestCase
22{
23 public function testSuccessValue(): void
24 {
25 $this->assertTrue(Success::create('foo')->error()->isEmpty());
26 $this->assertTrue(Success::create('foo')->success()->isDefined());
27 $this->assertSame('foo', Success::create('foo')->success()->get());
4Result Type was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is an implementation of the result type. Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Result-Type/releases), [security policy](https://github.com/GrahamCampbell/Result-Type/security/policy), [license](LICENSE), [code of conduct](.github/CODE_OF_CONDUCT.md), and [contribution guidelines](.github/CONTRIBUTING.md).
No evidence locations were recorded for this file. Raw result