pestphp / pestphp/pest

make build ARGS="--build-arg PHP=8.3"

Open
#1,484 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
11.7k
Forks
538
Avg merge
4d 11h
Merged PRs (30d)
8

Description

<LinearLayout ... >
<ImageView
android:id="@+id/gameIcon"
android:layout_width="48dp"
android:layout_height="48dp"
... />
<TextView
android:id="@+id/gameName"
... />

// GamesAdapter.kt (simplified)
class GamesAdapter(private val games: List) :
RecyclerView.Adapter<GamesAdapter.GameViewHolder>() {

class GameViewHolder(view: View) : RecyclerView.ViewHolder(view) {
    val gameIcon: ImageView = view.findViewById(R.id.gameIcon)
    val gameName: TextView = view.findViewById(R.id.gameName)
}

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): GameViewHolder {
    val view = LayoutInflater.from(parent.context)
        .inflate(R.layout.game_item, parent, false)
    return GameViewHolder(view)
}

override fun onBindViewHolder(holder: GameViewHolder, position: Int) {
    val game = games[position]
    holder.gameIcon.setImageResource(game.iconResId)
    holder.gameName.text = game.name
}

override fun getItemCount() = games.size

}
// Simple Game data class
data class Game(val name: String, val iconResId: Int)// MainActivity.kt
class MainActivity : AppCompatActivity() {
private lateinit var recyclerView: RecyclerView
private lateinit var adapter: GamesAdapter

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)

    recyclerView = findViewById(R.id.gamesRecyclerView)
    recyclerView.layoutManager = GridLayoutManager(this, 3)

    val gamesList = listOf(
        Game("Aviator", R.drawable.aviator_icon),
        Game("Evolution", R.drawable.evolution_icon),
        // Add the rest of your games here
    )

    adapter = GamesAdapter(gamesList)
    recyclerView.adapter = adapter
}

}// activity_main.xml (Grid style for game cards)
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/gamesRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:clipToPadding="false"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:spanCount="3"
/>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue only identifies make build ARGS="--build-arg PHP=8.3" and does not name a file, failing test, or requested change. Start by checking the build entry point and determine what behavior is expected; the issue needs clarification before completion can be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.