GithubHelp home page GithubHelp logo

tumugin / stannum Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 129 KB

Stannum makes PHP's scalar types more expressive!

Home Page: https://packagist.org/packages/tumugin/stannum

License: MIT License

PHP 99.15% Dockerfile 0.85%
php

stannum's Introduction

Stannum

phpcs(PSR12) CI Coverage Status

Stannum makes PHP's scalar types more expressive!

This project is under development. It is not recommended using in production.

Supported environments

Stannum supports and tested on PHP 7.4 or above.

Currently, Stannum is tested on the CI environment below.

  • PHP 7.4/8.0/8.1 on latest Windows
  • PHP 7.4/8.0/8.1 on latest Ubuntu(Linux)
  • PHP 7.4/8.0/8.1 on latest macOS

How to use

// Will return [1, 3, 5]
SnIntegerList::byIntArray([1, 2, 3, 4, 5, 6])
    ->filter(fn(SnInteger $val) => $val->isOdd())
    ->toIntArray();

stannum's People

Contributors

tumugin avatar renovate[bot] avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

Forkers

aoi-tech github30

stannum's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

composer
composer.json
  • php >=7.4
  • beberlei/assert ^3.3.2
  • phpunit/phpunit ^9.5.14
  • squizlabs/php_codesniffer ^3.6.2
  • phpstan/phpstan ^1.6
docker-compose
docker-compose.yml
dockerfile
docker/php/Dockerfile
  • php 8.3-bullseye
  • composer 2.6
github-actions
.github/workflows/coverage.yml
  • actions/checkout v4
  • shivammathur/setup-php v2
  • actions/cache v3
.github/workflows/phpcs.yml
  • actions/checkout v4
  • shivammathur/setup-php v2
  • actions/cache v3
.github/workflows/phpstan.yml
  • actions/checkout v4
  • shivammathur/setup-php v2
  • actions/cache v3
.github/workflows/phpunit.yml
  • actions/checkout v4
  • shivammathur/setup-php v2
  • actions/cache v3

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.